﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using NHibernate.Validator.Constraints;

namespace Domain.Model.Abstract
{
    public abstract class PortfolioItem : Entity
    {
        #region Properties

        [NotNull]
        public virtual string Name { get; set; }
        [NotNull]
        public virtual string Description { get; set; }

        #endregion

        #region Constructor

        public PortfolioItem(string name, string description)
        {
            this.Name = name;
            this.Description = description;
        }

        #endregion
    }
}